Learn R Programming

Directional (version 2.2)

Inverse of the Euclidean transformation: Inverse of the Euclidean transformation

Description

It transforms the data from the Euclidan coordinates to latitude dn longitude.

Usage

euclid.inv(U)

Arguments

U
A matrix of unit vectors, or even one single unit vector in three dimensions.

Value

A two column matrix: A two column matrix:

Details

It takes the matrix of unit vectors and back transforms it to latitude and longitude.

See Also

euclid, Arotation, lambert

Examples

Run this code
x <- rvmf(10, rnorm(3), 10)
euclid.inv(x)
euclid(euclid.inv(x))
x

Run the code above in your browser using DataLab